<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix='fmt' uri='http://java.sun.com/jsp/jstl/fmt' %>
    <%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core'%>
<script type='text/javascript' src='https://www.google.com/jsapi'></script>
<script type='text/javascript' src='jquery-1.7.2.js'></script>
<script type='text/javascript'>

</script>
<p class="title">Statics</p><br>
<table border="1" cellspacing='0' width="800px">
	<tr>
		<td><font size='3'>No</td>		<td><font size='3'>Date</td><td><font size='3'>Total</td>		<td><font size='3'>Success</td>		<td><font size='3'>Fail</td>		<td><font size='3'>Defects %</td>
	</tr>
	<c:forEach items="${requestScope.svo }" var="list">
	<tr>
		<td><font size='3'>${list.no} </td>		<td><font size='3'>${list.date_time} </td><td><font size='3' >${list.ok_amount+list.fail_amount} </td>		<td><font size='3' color='blue'>${list.ok_amount} </td>		<td><font size='3' color='red'>${list.fail_amount} </td>
		<td><font size='3'><fmt:formatNumber value='${list.fail_amount/(list.ok_amount+list.fail_amount)*100 }' maxFractionDigits='2' minFractionDigits='2' />%</td>
	</tr>	
</c:forEach>

</table>